import styled from 'styled-components'


// 交易须知
export const TradingNotesStyle = styled.div`

`

// 支付成功
export const PaysuccessStyle = styled.div`
  .mian{
    height: 100vh;
    background-color: white;
    color: #353535;
    text-align: center;
    justify-content: unset;
  }
  .top{
    margin-top: 1.13rem;
    img{
      width: 3.72rem;
      height: 3.31rem;
    }
    p{
      margin-top: .68rem;
    }
  }

  .pay-info{
    margin-top: .99rem;
    width: 3.72rem;
    text-align: left;
    /* justify-content: center; */
    div>span:nth-child(2){
      margin-left: .16rem;
      margin-right: .24rem;
    }
    div>span:nth-child(3){
      color: #FF843A;
    }
    .pay-way{
      justify-content: unset;
      img{
        width: .36rem;
        height: .41rem;
      }
    }
    .pay-price{
      margin-top: .47rem;
      justify-content: unset;
      img{
        width: .39rem;
        height: .39rem;
      }
    }
  }

  .option{
    width: calc( 100% - 3.46rem);
    margin-top: 1.4rem;
    .buttons{
      width: 2.39rem;
      height: .72rem;
      line-height: .72rem;
      font-size: .32rem;
      border-collapse: collapse;
      border-spacing: 0;
      background-color: white;

    }
    .see-order{
    }
    .gohome{
      
    }
  }

  .payfail{
    
  }

`

//  保证金支付
export const SubmitStyle = styled.div`
  
  .common-cards{
    background-color: white;
    border-radius: .13rem;
    margin-top: .13rem;
  }

  .address{
    /* box-sizing: content-box; */
    /* height: 2.16rem; */
    .title{
      justify-content: unset;
      p{
        /* margin-left: .27rem; */
        font-weight: bold;
        color: #474747;
        font-size: .4rem;

      }
    }

    .detail{
      margin-top: .33rem;
      /* margin-left: .49rem; */
      .left{
        .detail-addres{
          margin-top: .16rem;
          opacity: .5;
          font-size: .27rem;

        }
        .phone-name{
          color: #474747;
          font-weight: bold;
        }
      }

      .right{
        opacity: .5;
      }
    }
  }

  .tz-address-box{
    align-items: flex-start;
    margin-top: .16rem;
    .title{
      font-size: .4rem;
      font-weight: bold;
      margin-bottom: .35rem;
    }
    .detail{
      width: 100%;
      opacity: .5;
      font-weight: 500;
      padding-bottom: .29rem;
      border-bottom: solid rgba(77, 77,77, .2) 1px;

    }

    .agree-rule{
      margin-top: .33rem;
      .radio{
        width: .4rem;
        height: .4rem;
        border-radius: 50%;
        border: solid #474747 1px;
        /* box-sizing: border-box; */
        display: flex; 
        align-items: center;
        justify-content: center;

        .checked{
          width: .2rem;
          height: .2rem;
          border-radius: 50%;
        }
      }

      p{
        margin-left: .33rem;
        font-weight: bold ;
        color: #474747;
        span{
          font-weight: bold ;
          color: black;
        }
      }
    }

  }

  .goods-list{
    /* height: 4.01rem; */
    .single-goods{

    }

    .see-more{
      margin-top: .52rem;
      text-align: center;
      padding-bottom: .43rem;
    }
  }

  .price-detail{
    /* height: 3.2rem; */
    padding: 0 .36rem;
    padding-top: .39rem;

    .price-list{
      padding-bottom: .39rem;
      color: #474747;
      span:nth-child(2){
        font-weight: bold;
      }
    }

  }

  .acceptable-time{
    padding: .31rem .33rem;
    color: #474747;
    .left{
      img{
        margin-left: .16rem;
        width: .32rem;
        height: .32rem;
      }
    }
    .right{
      opacity: .5;
    } 
  }

  .remark{
    padding: .31rem .33rem;
    color: #474747;
  }

  .hdy-provision{
    margin-top: .35rem;
    padding: 0 .31rem;
    justify-content: unset;
    height: .55rem;

    img{
      width: .55rem;
      height: .55rem;
      margin-right: .32rem;
    }

    span:nth-child(2){
      margin-left: .32rem;
    }
    span:nth-child(3){
      color: #FF843A;
      font-size: .4rem;
    }

  }

  .confirm-pay{
    padding: 0 .32rem;
    box-sizing: border-box;
    position: fixed;
    bottom: 0;
    width: 100%;
    height: 1.28rem;
    background-color: white;
    .pay-button{
      color: white;
        background-color: #FF762E;
        border-radius: .15rem;
        width: 3.04rem;
        height: 1.17rem;
        line-height: 1.17rem;
        font-size:  .4rem;
        font-weight: bold;
    }

    .pay-price{
      margin-left: .35rem;
      span:nth-child(2){
        color: #FF843A;
        font-size: .48rem;
        font-weight: bold;
      }
    }

  }


`

export const PayWayStyle = styled.div`
  .payway-btn{
    color: #ff762e;
    background-color: #f5f5f9;
    border: solid 1px rgba(255, 118, 46, .6);
    border-radius: .15rem;
    width: 9rem;
    margin: .32rem 0;
    height: 1.6rem;
    .payway-btn-left{
      font-size: .44rem;
    }
    img{
      width: .5rem;
      height: .5rem;
    }
    .payway-icon{
      margin: 0 .18rem;
    }
    .payway-active{
      margin-right: .25rem;
    }
  }
  .payway-bottom{
    bottom: .48rem;
    width: 100%;
  }
`
